<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common-app/taglibs.jsp"%>
<%
	request.setAttribute("brEnter", "\n");//用于替换xml中的换行符
%>
<x:parse var="xmlData" xml="${param.xmlstr}"/>
<div class="one_page">
		<table class="first_page" align="center">
			<col style="width: 110px" />
			<col style="width: 290px" />
			<col style="width: 100px" />
			<col style="width: 180px" />


			<tr>
				<td class="first_page" colspan="2">

					<div align="center">
						<table>
							<tr>
								<td class="first_page_header2" align="right">受理编号：</td>
								<td class="first_page_line2" width="250px" align="left">
									<x:out select="$xmlData/data/proposal/prp_no" />
								</td>
								<!-- <td width="400px" style="border:0 solid black"></td> -->
							</tr> 
							<tr>
								<td align="right" class="first_page_header2">管理类别：</td>
								<td width="250px" align="left" class="first_page_line2">
									<x:out select="$xmlData/data/proposal/manage_category" />
								</td>
							</tr>
							 <tr>
								<td align="right" class="first_page_header2">项目类别：</td>
								<td width="250px" align="left" class="first_page_line2">
									<x:out select="$xmlData/data/proposal/grant_name" />(<x:out select="$xmlData/data/proposal/sub_grant_name" />)
								</td>
							</tr>	 
						</table>
					</div>
				</td>
				<td width="400px" style="border:0 solid black" align="center" colspan="2">
				<img style="-webkit-user-select: none" width="150px" height="65px" src="file:///${barCodePath}" />
				</td>
			</tr>

			<tr>
				<td class="first_page" height="50px" colspan="4"></td>
			</tr>
			<tr>
				<td class="first_page" colspan="4" align="center"
					style="padding: 10px 10px 10px 10px; font-size: 30px; margin-bottom: 25px; line-height: 150%; font-family: SimHei;">
					安徽省<x:out select="$xmlData/data/proposal/grant_name" />项目</td>
			</tr>
			<tr>
				<td class="first_page" colspan="4" align="center"
					style="padding: 10px 10px 10px 10px; font-size: 25px; font-family: SimHei;">
					申请书</td>
			</tr>
			<tr>
				<c:set var="year">
					<x:out select="$xmlData/data/proposal/year" />
				</c:set>
				<td class="first_page" colspan="4" align="center"
					style="padding: 10px 10px 10px 10px; font-size: 20px; font-family: SimHei;">
					（<x:out select="$xmlData/data/proposal/stat_year" />年度）
				</td>
			</tr>
			</table>
			<table class="first_page" align="center">
			<col style="width: 110px" />
			<col style="width: 230px" />
			<col style="width: 100px" />
			<col style="width: 230px" />
			
			<tr>
				<td class="first_page_header" colspan="4" height="30px"></td>
			</tr>
			<tr>
				<td class="first_page_header2" align="right">项目名称:</td>
				<td class="first_page_line2" colspan="3" width="530px"><x:out
						select="$xmlData/data/proposal/zh_title" /></td>

			</tr>
			 <tr>
				<td class="first_page_header2" align="right">申请单位:</td>
				<td class="first_page_line2" colspan="2">
				
				<x:out select="$xmlData/data/organizations/organization[@submit_org=1]/org_name"/></td>
				<td class="first_page_line2">
					<div style="position: relative; float: right; font-family: SimHei;">（盖章）</div>
				</td>
			</tr>
			
			<tr>
				<td class="first_page_header2" align="right">项目负责人:</td>
				<td class="first_page_line2"><x:out
						select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name" /></td>
						<td class="first_page_header2" align="right">电子邮箱:</td>
				<td class="first_page_line2"><x:out select="$xmlData/data/proposal/fzr_mail" /></td>
			</tr>
			
			<tr>
				<td class="first_page_header2" align="right">手机号码:</td>
				<td class="first_page_line2"><x:out select="$xmlData/data/proposal/fzr_mobile" /></td>
						<td class="first_page_header2" align="right">联系电话:</td>
				<td class="first_page_line2"><x:out
						select="$xmlData/data/proposal/fzr_tel" /></td>
			</tr>
			<tr>
					<td  align="right" class="first_page_header2">项目联系人:</td>
					<td class="first_page_line2"><x:out select="$xmlData/data/proposal/contact_psn_cname" /></td>
					<td align="right" class="first_page_header2">电子邮箱:</td>
					<td class="first_page_line2"><x:out select="$xmlData/data/proposal/contact_psn_email" /></td>
				</tr>
				
				<tr>
					<td align="right" class="first_page_header2">手机号码:</td>
					<td class="first_page_line2"><x:out select="$xmlData/data/proposal/contact_psn_mobile" /></td>
					<td  align="right" class="first_page_header2">联系电话:</td>
					<td class="first_page_line2"><x:out select="$xmlData/data/proposal/contact_psn_tel" /></td>
				</tr>
				<tr></tr>
				<tr>
					<td  align="right" class="first_page_header2">归口管理部门:</td>
					<td colspan="3" width="530px" class="first_page_line2">
					<x:out select="$xmlData/data/proposal/recomend_org_name" />
					</td>
				</tr>
				<tr>
					<td  align="right" class="first_page_header2">申请日期:</td>
					<td  colspan="3" width="530px" class="first_page_line2">
					<c:set var="submit_date" ><x:out select="$xmlData/data/proposal/submit_date" /></c:set>
					    <c:set var="temp">${fn:substring(submit_date,0,10) }</c:set>
						${fn:split(temp,'-')[0]}年${fn:split(temp,'-')[1]}月${fn:split(temp,'-')[2]}日
					</td>
				</tr> 
				
<tr></tr>
			
			<tr>
				<td class="first_page" height="150px"></td>
			</tr>
			<tr>
				<td class="first_page_header" align="center" colspan="4"
					style="font-size: 21.343px; font-family: SimHei;">安徽省科学技术厅 制
				</td>
			</tr>

		</table>
		<p style="page-break-after: always">&nbsp;</p>
	</div>